﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ExcelTogether.WinCore;

namespace ExcelTogether
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            
            InitializeComponent();
            
            //System.Drawing.Icon ico = new System.Drawing.Icon("c:\\temp\\tst.ico");
            System.Drawing.Icon ico = new System.Drawing.Icon(@"E:\Compile\xlsx win.ico");
            this.Icon = ico;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            MessageBox.Show("合并成功");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            FolderDialog openFolder = new FolderDialog();
            if (openFolder.DisplayDialog() == DialogResult.OK)
                textBox1.Text = openFolder.Path.ToString();
            else textBox1.Text = "你没有选择目录";
        }
    }
}
